package io.bluerain.ldrawersample.ui;

import io.bluerain.ldrawersample.DrawerMenuActivity;
import io.bluerain.ldrawersample.R;
import io.bluerain.ldrawersample.entities.Menu;
import io.bluerain.ldrawersample.ui.items.Test01;
import io.bluerain.ldrawersample.ui.items.Test02;
import io.bluerain.ldrawersample.ui.items.Test03;
import io.bluerain.ldrawersample.ui.items.Test04;

/**
 * Created by foredawn on 15-9-23.
 * 测试继承
 */
public class TestMain extends DrawerMenuActivity {

    public static final Menu[] featureMenus = new Menu[]{
            new Menu(R.mipmap.ic_launcher, "菜单01", Test01.class, R.layout.test01_fragment_layout),
            new Menu(R.mipmap.ic_launcher, "菜单02", Test02.class, R.layout.test01_fragment_layout),
            new Menu(R.mipmap.ic_launcher, "菜单03", Test03.class, R.layout.test01_fragment_layout),
            new Menu(R.mipmap.ic_launcher, "菜单04", Test04.class, R.layout.test01_fragment_layout)
    };

    public static final Menu[] finalMenus = new Menu[]{


            new Menu(R.mipmap.ic_launcher, "获取资源"),
            new Menu(R.mipmap.ic_launcher, "检查更新"),
            new Menu(R.mipmap.ic_launcher, "关于")
    };

    public TestMain() {
        super(featureMenus, finalMenus, "", "G4工具箱 正式版", 0);
    }
}
